package com.jindy.module.assistmaterials.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jindy.common.annotation.Excel;
import com.jindy.common.core.domain.BaseEntity;

/**
 * fucaishengcheng对象 t_assist_materials
 * 
 * @author jindy
 * @date 2023-02-16
 */
public class AssistMaterials
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 机器维修记录id */
    @Excel(name = "机器维修记录id")
    private Long repairRecordId;
//    private String repairRecordId;

    /** 辅材 */
    @Excel(name = "辅材")
    private String auxiliaryMaterials;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 金额 */
    @Excel(name = "金额")
    private BigDecimal money;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRepairRecordId(Long repairRecordId)
    {
        this.repairRecordId = repairRecordId;
    }

    public Long getRepairRecordId()
    {
        return repairRecordId;
    }
    public void setAuxiliaryMaterials(String auxiliaryMaterials) 
    {
        this.auxiliaryMaterials = auxiliaryMaterials;
    }

    public String getAuxiliaryMaterials() 
    {
        return auxiliaryMaterials;
    }
    public void setQuantity(Long quantity) 
    {
        this.quantity = quantity;
    }

    public Long getQuantity() 
    {
        return quantity;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("repairRecordId", getRepairRecordId())
            .append("auxiliaryMaterials", getAuxiliaryMaterials())
            .append("quantity", getQuantity())
            .append("unit", getUnit())
            .append("money", getMoney())
            .toString();
    }
}
